<style tyle="text/css">
    .modal-lg {
        width: 60%;
    }
</style>
<div class="modal-header">
    <h4 class="modal-title">房间信息</h4>
</div>
<div class="modal-body">

    <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
        <div class="form-group">
            <h4 class="col-lg-4 control-label">
                名称
            </h4>
            <h4 class="col-sm-4">
                <input type="text" class="form-control" placeholder="名称" ng-model="room.name">
            </h4>
            <label class="control-label text-muted mt10">
                <!-- <i>此项填写则修改，不填写则不修改</i> -->
            </label>
        </div>
        <div class="form-group">
            <h4 class="col-lg-4 control-label">
                排数
            </h4>
            <h4 class="col-sm-4">
                <input type="number" class="form-control" placeholder="排数" min="1" ng-model="room.line_num" ng-disabled="!is_new">
            </h4>
            <label class="control-label text-muted mt10">
                <!-- <i>此项填写则修改，不填写则不修改</i> -->
            </label>
        </div>
        <div class="form-group">
            <h4 class="col-lg-4 control-label">
                列数
            </h4>
            <h4 class="col-sm-4">
                <input type="number" class="form-control" placeholder="列数" min="1" ng-model="room.column_num" ng-disabled="!is_new">
            </h4>
            <label class="control-label text-muted mt10">
                <!-- <i>此项填写则修改，不填写则不修改</i> -->
            </label>
        </div>
    </form>

</div>

<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
    <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
</div>